# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-json-database
pkgver=0.5.6
pkgrel=1
pkgdesc="Searchable json database with persistence"
url="https://github.com/HelloChatterbox/json_database"
arch="noarch"
license="MIT"
depends="
	py3-fasteners
	py3-xdg
	python3
	"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/j/json_database/json_database-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/json_database-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
7857a9a500986c34e5f6a8591a5c0b878e7d808177e31a9eb63edef0bf388051d9fe1bbcf2caef85e512ed38e1549018fa520040f1043848080daca8f065e757  json_database-0.5.6.tar.gz
"
